import config from "@/config"
import http from "@/utils/request"

export const getLogList = (data) => {
	return http.post(`${config.API_SYS_BASE}/log/list`, data).catch((err) => {
		console.log(err)
	});
}
export const getLogTypeList = (data) => {
	return http.post(`${config.API_SYS_BASE}/common/dictItem`, data).catch((err) => {
		console.log(err)
	});
}
export const getLogAdd = (data) => {
	return http.post(`${config.API_SYS_BASE}/log/add`, data).catch((err) => {
		console.log(err)
	});
}
export const getReportDeptOpenApiNum = (data) => {
	return http.post(`${config.API_SYS_BASE}/report/deptOpenApiNum`, data).catch((err) => {
		console.log(err)
	});
}
